﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace App.DbContexts
{

    [Table("MyShare")]
    public class MyShareEntity : BaseEntity
    {
        [Required]
        public string Code { get; set; }

        [Required]
        public string Name { get; set; }

        public DateTime BuyDay { get; set; }

        public double BuyPrice { get; set; }

        /// <summary>
        /// 购买数量(100的整数)
        /// </summary>
        public double BunNum { get; set; }

        /// <summary>
        /// 建议
        /// </summary>
        public string Suggest { get; set; }

    }


}
